public class Bird extends Animal implements Run,Fly{

    public Bird(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println(this.getName()+"吃鸟粮");
    }

    @Override
    public void fly() {
        System.out.println(this.getName()+"会飞");
    }

    @Override
    public void run() {
        System.out.println(this.getName()+"会跑");
    }
}
